﻿
using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace Oliving.Edge.Model.Models
{
    ///<summary>
    ///, "测试_配置表"
    ///</summary>
    [SugarTable("Oliving_Config")]
    public class sys_config
    {
        public sys_config()
        {
        }
        /// <summary>
        /// Desc:key
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(Length = 256, IsNullable = true, ColumnDataType = "nvarchar", ColumnDescription = "key")]
        public string C_Key { get; set; }


        /// <summary>
        /// Desc:名称
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(Length = 256, IsNullable = true, ColumnDataType = "nvarchar", ColumnDescription = "名称")]
        public string C_Name { get; set; }


        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(Length = 2000, IsNullable = true, ColumnDataType = "nvarchar", ColumnDescription = "备注")]
        public string C_Renark { get; set; }


        /// <summary>
        /// Desc:状态
        /// Default:
        /// Nullable:True
        /// </summary>

        [SugarColumn(ColumnDescription = "状态")]
        public int C_State { get; set; }


        /// <summary>
        /// Desc:类型
        /// Default:
        /// Nullable:True
        /// </summary>

        [SugarColumn(ColumnDescription = "类型")]
        public int C_Type { get; set; }


        /// <summary>
        /// Desc:value 值
        /// Default:
        /// Nullable:True
        /// </summary>

        [SugarColumn(Length = 256, IsNullable = true, ColumnDataType = "nvarchar", ColumnDescription = "value 值")]
        public string C_Value { get; set; }


        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间")]
        public DateTime C_CreateTime { get; set; } = DateTime.Now;


        /// <summary>
        /// Desc:主键，编号
        /// Default:
        /// Nullable:False
        /// </summary>

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键，编号")]
        public int C_ID { get; set; }


    }

}
